package colbert.content.myConstructor;

public class ServerStudent {
    private Student student;
    public ServerStudent(){
        System.out.println("ServerStudent====无参");

    }
    public ServerStudent(Student student){
       this.student = student;
    }
    // 提供方法操作Student对象的年龄
    public void setAge(int age){
        student.setAge(age);
    }
    public int getAge(){
        return student.getAge();
    }

}
